Leave GDK_THREADS_ENTER/LEAVE visible for now
authorMatthias Clasen <mclasen@redhat.com>
Mon, 6 Aug 2012 12:34:46 +0000 (08:34 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 6 Aug 2012 12:34:46 +0000 (08:34 -0400)
Not defining these macros at all causes harsh build breakages.
Better to leave them defined (but documented as deprecated) for now.
Everybody will still get the deprecation warnings for the underlying
gdk_threads_enter/leave.

We can hide the macros again later on when the world has had some
time to port off GDK threads.

gdk/gdkthreads.h

index 172e1b165730b8c11a2f83421cc9e2d4c9f9d580..49f15afa552057671ffe9f1d5d3bad70305a364b 100644 (file)
@@ -73,8 +73,6 @@ guint    gdk_threads_add_timeout_seconds      (guint          interval,
                                                gpointer       data);
 
 
-#if !(GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_6)
-
 /**
  * GDK_THREADS_ENTER:
  *
@@ -100,8 +98,6 @@ guint    gdk_threads_add_timeout_seconds      (guint          interval,
  */
 #define GDK_THREADS_LEAVE() gdk_threads_leave()
 
-#endif
-
 #undef GDK_THREADS_DEPRECATED
 
 G_END_DECLS